#include "FpCvMath.h"
#include "FpCvGeometryTool.h"

namespace FpCv {

	FP_OPENCV_EXPORT int linePointAtX(const Line& line, double x0, cv::Point2d& pt)
	{
		return crossPoint(line, verticalLine(x0), pt);
	}

	FP_OPENCV_EXPORT int linePointAtY(const Line& line, double y0, cv::Point2d& pt)
	{
		return crossPoint(line, horizontalLine(y0), pt);
	}

}